#include "VideoPlayerManager.h"
#include "showSub.h"
#include "TestSubTitle2.h"

#pragma once

class GraphicShowVideo: public CWnd
{
	DECLARE_DYNAMIC(GraphicShowVideo)
public:
	GraphicShowVideo(void);
	~GraphicShowVideo(void);

	static GraphicShowVideo* ShareInstance();
	void SetWndParentForVideoPlayerManager();

public: 

	DECLARE_MESSAGE_MAP()
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);


	
public:
	TestSubTitle2 * m_Sub;

	CRect m_rtPlayer;
	afx_msg void OnWindowPosChanged(WINDOWPOS* lpwndpos);
	void HandleEventFromGraph();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};
